package com.brightness.security.oauth2.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author: mailtohgh@163.com
 * @date: 2019/12/30
 * @time: 3:32 下午
 * @descript:
 */
@RestController
@SpringBootApplication
@MapperScan(basePackages = "com.brightness.security.oauth2.server.mapper")
public class OAuth2ServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(OAuth2ServerApplication.class,args);
    }

    @GetMapping("/")
    public String sayHi(){
        return "hello";
    }
}
